import {createRouter, createWebHashHistory} from "vue-router";

const routes = [
    {
        path: "/",
        redirect: { name: "ClockMain" },
        // path: "/",
        // name: "index",
        // component: () => import("../components/HelloWorld.vue"),
    }, {

        path: "/Clock",
        name: 'ClockMain',
        component: () => import('../components/Clock.vue')

    }
];

const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

export default router;
